package com.mc2.docapp.disabilityassessmenttool.SpinalAffection;

import com.mc2.docapp.disabilityassessmenttool.UpperLimb.InnerCalculations;

import io.realm.RealmObject;
import io.realm.annotations.PrimaryKey;

/*@Data
@AllArgsConstructor
@NoArgsConstructor*/
public class C_spin_affn_misc_med_conditions extends RealmObject {
    @PrimaryKey
    public int id;
    private double medicalConditions;
    private InnerCalculations innerCalculations = new InnerCalculations();

    public C_spin_affn_misc_med_conditions(int id, double medicalConditions, InnerCalculations innerCalculations) {
        this.id = id;
        this.medicalConditions = medicalConditions;
        this.innerCalculations = innerCalculations;
    }

    public C_spin_affn_misc_med_conditions() {
    }

    public C_spin_affn_misc_med_conditions strip(C_spin_affn_misc_med_conditions dt) {
        return new C_spin_affn_misc_med_conditions(dt.getId(), dt.getMedicalConditions(), dt.getInnerCalculations());
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public double getMedicalConditions() {
        return medicalConditions;
    }

    public void setMedicalConditions(double medicalConditions) {
        this.medicalConditions = medicalConditions;
    }

    public InnerCalculations getInnerCalculations() {
        return innerCalculations;
    }

    public void setInnerCalculations(InnerCalculations innerCalculations) {
        this.innerCalculations = innerCalculations;
    }
}
